@import '../../../../css/mobile/components/normalize';
@import '../../../../css/mobile/components/font';

.header {
  line-height: 0;
  text-align: center;

  .title {
    margin-top: 76px;
    width: 280px;
  }

  .title-1 {
    text-align: center;
    margin-top: 32px;
    height: 44px;
    line-height: 50px;
    font-size: 32px;
    font-family: PingFangSC-Medium;
    font-weight: 500;

    .red {
      color: rgba(255, 0, 0, 1);
    }
  }

  .title-2 {
    text-align: center;
    margin-top: 8px;
    font-size: 28px;
    font-family: PingFangSC-Regular;
    font-weight: 400;
    color: rgba(102, 102, 102, 1);
    line-height: 40px;
  }
}

.user-list {
  margin-top: 80px;
  padding: 0 76px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  .user-item {
    display: inline-block;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    margin: 20px 0;
    position: relative;

    img.avatar {
      width: 120px;
      height: 120px;
      border-radius: 50%;
      content: unset !important;
    }

    &.win {
      border: 6px solid #F10000;
    }

    &.win:before {
      width: 50px;
      height: 58px;
      position: absolute;
      top: -26px;
      left: 34.5px;
      content: '' !important;
      background: url(../img/gift.png);
      background-size: 100% 100%;
      z-index: 1;
    }
    &.captain:after {
      width: 96px;
      height: 40px;
      background: rgba(63, 206, 254, 1);
      border-radius: 20px;
      position: absolute;
      left: 12px;
      bottom: -10px;
      text-align: center;
      content: '团长' !important;
      font-size: 28px;
      font-family: PingFangSC-Regular;
      font-weight: 400;
      color: rgba(255, 255, 255, 1);
      line-height: 40px;
      z-index: 2;
    }
  }
}

.rule-list {
  margin-top: 108px;

  .title {
    height: 40px;
    font-size: 28px;
    font-family: PingFangSC-Medium;
    font-weight: 500;
    color: rgba(51, 51, 51, 1);
    line-height: 40px;
    text-align: center;

    &:before, &:after {
      display: inline-block;
      content: '' !important;
      width: 68px;
      height: 2px;
      background: rgba(51, 51, 51, 0.2);
      border-radius: 2px;
      margin: -8px 50px 0 50px;
      vertical-align: middle;
    }
  }

  .rules {
    margin-top: 52px;
    padding: 0 80px;
    font-size: 28px;
    font-family: PingFangSC-Regular;
    font-weight: 400;
    color: rgba(51, 51, 51, 1);
    line-height: 42px;
  }
}

.share-btn {
  width: 652px;
  height: 92px;
  line-height: 92px;
  margin: 60px auto;
  background:rgba(246,0,0,1);
  border-radius: 46px;
  text-align: center;
  font-size: 32px;
  font-family: PingFangSC-Medium;
  font-weight: 500;
  color: rgba(255, 255, 255, 1);
}

.share-mask {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1005;
  overflow: hidden;
  display: none;

  .share-arrow {
    background: url('../img/share_arrow.png');
    background-size: 440px 320px;
    width: 440px;
    height: 320px;
    position: absolute;
    top: 22px;
    right: 28px;
  }
}